<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts: fatfs.sup/fatfs_tests.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">ESP8266ILI9341DisplayProject</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b666832e27e3be33c87e99ef6d60e3b7.html">fatfs.sup</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">fatfs_tests.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;<a class="el" href="user__config_8h_source.html">user_config.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="fatfs_8h_source.html">fatfs.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="time_8h_source.html">lib/time.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="stringsup_8h_source.html">lib/stringsup.h</a>&quot;</code><br />
<code>#include &quot;<a class="el" href="mathio_8h_source.html">printf/mathio.h</a>&quot;</code><br />
</div>
<p><a href="fatfs__tests_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ad16bc1913c19300dba43a07006c9ac52"><td class="memItemLeft" align="right" valign="top"><a class="el" href="earth2wireframe_8c.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fatfs__tests_8c.html#ad16bc1913c19300dba43a07006c9ac52">fatfs_help</a> (int full)</td></tr>
<tr class="memdesc:ad16bc1913c19300dba43a07006c9ac52"><td class="mdescLeft">&#160;</td><td class="mdescRight">Display FatFs test diagnostics help menu.  <a href="#ad16bc1913c19300dba43a07006c9ac52">More...</a><br /></td></tr>
<tr class="separator:ad16bc1913c19300dba43a07006c9ac52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc8904337a4bee5420ecc3527864f844"><td class="memItemLeft" align="right" valign="top"><a class="el" href="earth2wireframe_8c.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fatfs__tests_8c.html#adc8904337a4bee5420ecc3527864f844">fatfs_tests</a> (int argc, char *argv[])</td></tr>
<tr class="memdesc:adc8904337a4bee5420ecc3527864f844"><td class="mdescLeft">&#160;</td><td class="mdescRight">FatFs test parser.  <a href="#adc8904337a4bee5420ecc3527864f844">More...</a><br /></td></tr>
<tr class="separator:adc8904337a4bee5420ecc3527864f844"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5fed10f1507f55cfea45f5e3cb8c5d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="earth2wireframe_8c.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fatfs__tests_8c.html#ad5fed10f1507f55cfea45f5e3cb8c5d5">mmc_test</a> (void)</td></tr>
<tr class="memdesc:ad5fed10f1507f55cfea45f5e3cb8c5d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Perform key FatFs diagnostics tests.  <a href="#ad5fed10f1507f55cfea45f5e3cb8c5d5">More...</a><br /></td></tr>
<tr class="separator:ad5fed10f1507f55cfea45f5e3cb8c5d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5306e261e84e6700704633a53153857c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="earth2wireframe_8c.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="fatfs__tests_8c.html#a5306e261e84e6700704633a53153857c">fatfs_ls</a> (char *name)</td></tr>
<tr class="separator:a5306e261e84e6700704633a53153857c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="ad16bc1913c19300dba43a07006c9ac52"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="earth2wireframe_8c.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> void fatfs_help </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>full</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Display FatFs test diagnostics help menu. </p>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

<p>Definition at line <a class="el" href="fatfs__tests_8c_source.html#l00046">46</a> of file <a class="el" href="fatfs__tests_8c_source.html">fatfs_tests.c</a>.</p>

<p>Referenced by <a class="el" href="fatfs__tests_8c_source.html#l00101">fatfs_tests()</a>, and <a class="el" href="user__main_8c_source.html#l00592">user_help()</a>.</p>

</div>
</div>
<a class="anchor" id="a5306e261e84e6700704633a53153857c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="earth2wireframe_8c.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> void fatfs_ls </td>
          <td>(</td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<ul>
<li>Credit: part of FatFs avr example project (C)ChaN, 2013.</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">ptr</td><td>pathname of directory to list</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="fatfs__sup_8c.html#a11c6644c2b989d1ac2492b30b80e4ead" title="Display FILINFO structure in a readable format. ">fatfs_filinfo_list()</a>. </dd></dl>
<dl class="section return"><dt>Returns</dt><dd>void. </dd></dl>

<p>Definition at line <a class="el" href="fatfs__tests_8c_source.html#l00313">313</a> of file <a class="el" href="fatfs__tests_8c_source.html">fatfs_tests.c</a>.</p>

<p>Referenced by <a class="el" href="fatfs__tests_8c_source.html#l00101">fatfs_tests()</a>, and <a class="el" href="fatfs__tests_8c_source.html#l00271">mmc_test()</a>.</p>

</div>
</div>
<a class="anchor" id="adc8904337a4bee5420ecc3527864f844"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="earth2wireframe_8c.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> int fatfs_tests </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>argv</em>[]&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>FatFs test parser. </p>
<ul>
<li>Keywords and arguments are matched against fatfs test functions If ther are matched the function along with its argements are called.</li>
</ul>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">str</td><td>User supplied command line with FatFs test and arguments.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>1 The ruturn code indicates a command matched. </dd>
<dd>
0 if no rules matched </dd></dl>

<p>Definition at line <a class="el" href="fatfs__tests_8c_source.html#l00101">101</a> of file <a class="el" href="fatfs__tests_8c_source.html">fatfs_tests.c</a>.</p>

<p>Referenced by <a class="el" href="user__main_8c_source.html#l00631">user_tests()</a>.</p>

</div>
</div>
<a class="anchor" id="ad5fed10f1507f55cfea45f5e3cb8c5d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="earth2wireframe_8c.html#ad0fe97585b8891f5e4f2b9a6426330a4">MEMSPACE</a> void mmc_test </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Perform key FatFs diagnostics tests. </p>
<ul>
<li>Perform all basic file tests</li>
<li>Assumes the device is formatted</li>
</ul>
<dl class="section return"><dt>Returns</dt><dd>void </dd></dl>

<p>Definition at line <a class="el" href="fatfs__tests_8c_source.html#l00271">271</a> of file <a class="el" href="fatfs__tests_8c_source.html">fatfs_tests.c</a>.</p>

<p>Referenced by <a class="el" href="fatfs__tests_8c_source.html#l00101">fatfs_tests()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Wed Jan 31 2018 21:22:16 for ESP8266 ILI9341 display support code with printf sources, wire-frame viewer and custom fonts by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
